import { getParamsSuffix } from '@/utils/paramsUtils';
import request from '@/utils/request';

/**
 *
 * 获取所有的数据
 * @param query
 * @returns {Promise<any>}
 */
export async function getAllDatas(query) {
  const params = getParamsSuffix(query);
  return request(`/api/cdcerservice/v1/trainingtutorial/getAllDatas?${params}`, {
    method: 'GET',
  });
}
